const publicPath = process.env.NODE_ENV === "production" ? "/public" : "";

module.exports = {
  css: {
    loaderOptions: {
      scss: {
        prependData: `@import "@/assets/scss/_variable.scss";`
      }
    }
  },
  devServer: {
    port: "8001",
    proxy: "http://localhost:7001"
  },
  publicPath: publicPath
};
